package com.yunxin.yundubbo.util;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class ExposeInterfacesContext {

    private static final List<String> EXPOSE_INTERFACES = Collections.synchronizedList(new ArrayList<String>());

    public static void set(String className) {
        EXPOSE_INTERFACES.add(className);
    }

    public static List<String> list() {
        return EXPOSE_INTERFACES;
    }

}
